package documentadorrepositorio.componentes;

import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JTextField;

/**
 *
 * @author Vinicius
 */
public class PainelConfigArtefato extends javax.swing.JPanel {

    public PainelConfigArtefato() {
        initComponents();
    }

    public JButton getBtnAddPadraoArquivo() {
        return btnAddPadraoArquivo;
    }

    public JButton getBtnAddPadraoPasta() {
        return btnAddPadraoPasta;
    }

    public JButton getBtnRemPadraoArquivo() {
        return btnRemPadraoArquivo;
    }

    public JButton getBtnRemPadraoPasta() {
        return btnRemPadraoPasta;
    }

    public JList getLstArquivos() {
        return lstArquivos;
    }

    public JList getLstPastas() {
        return lstPastas;
    }

    public JTextField getTxtPadraoArquivo() {
        return txtPadraoArquivo;
    }

    public JTextField getTxtPadraoPasta() {
        return txtPadraoPasta;
    }

    public JTextField getTxtSilga() {
        return txtSilga;
    }

    public JPanel getTab() {
        return tab;
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        tab = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        lstPastas = new javax.swing.JList();
        lblPadroesPasta = new javax.swing.JLabel();
        btnAddPadraoPasta = new javax.swing.JButton();
        txtPadraoPasta = new javax.swing.JTextField();
        btnRemPadraoPasta = new javax.swing.JButton();
        lblPadroesArquivos = new javax.swing.JLabel();
        txtPadraoArquivo = new javax.swing.JTextField();
        btnAddPadraoArquivo = new javax.swing.JButton();
        jScrollPane2 = new javax.swing.JScrollPane();
        lstArquivos = new javax.swing.JList();
        btnRemPadraoArquivo = new javax.swing.JButton();
        lblSigla = new javax.swing.JLabel();
        txtSilga = new javax.swing.JTextField();
        jScrollPane3 = new javax.swing.JScrollPane();
        txtAjudaCapa = new javax.swing.JTextPane();

        lstPastas.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        lstPastas.setToolTipText("");
        jScrollPane1.setViewportView(lstPastas);

        lblPadroesPasta.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        lblPadroesPasta.setText("Padrões de Pastas");

        btnAddPadraoPasta.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnAddPadraoPasta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/documentadorrepositorio/icones/add_16.png"))); // NOI18N
        btnAddPadraoPasta.setText("Adicionar");

        btnRemPadraoPasta.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnRemPadraoPasta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/documentadorrepositorio/icones/close_16.png"))); // NOI18N
        btnRemPadraoPasta.setText("Remover Selecionado");

        lblPadroesArquivos.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        lblPadroesArquivos.setText("Padrões de Arquivos");

        btnAddPadraoArquivo.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnAddPadraoArquivo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/documentadorrepositorio/icones/add_16.png"))); // NOI18N
        btnAddPadraoArquivo.setText("Adicionar");

        lstArquivos.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        lstArquivos.setToolTipText("");
        jScrollPane2.setViewportView(lstArquivos);

        btnRemPadraoArquivo.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnRemPadraoArquivo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/documentadorrepositorio/icones/close_16.png"))); // NOI18N
        btnRemPadraoArquivo.setText("Remover Selecionado");

        lblSigla.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        lblSigla.setText("Sigla");

        txtAjudaCapa.setEditable(false);
        txtAjudaCapa.setText("Os arquivos dos Artefatos deverão ser precedidos, após sua sigla e número, de um espaço (ou hífen) e  seu nome, caso contrário o sistema não será capaz de obter o nome do mesmo");
        txtAjudaCapa.setEnabled(false);
        jScrollPane3.setViewportView(txtAjudaCapa);

        javax.swing.GroupLayout tabLayout = new javax.swing.GroupLayout(tab);
        tab.setLayout(tabLayout);
        tabLayout.setHorizontalGroup(
            tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tabLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tabLayout.createSequentialGroup()
                        .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblPadroesPasta)
                            .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(btnRemPadraoPasta)
                                .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 230, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(tabLayout.createSequentialGroup()
                                        .addComponent(txtPadraoPasta)
                                        .addGap(18, 18, 18)
                                        .addComponent(btnAddPadraoPasta)))))
                        .addGap(61, 61, 61)
                        .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(tabLayout.createSequentialGroup()
                                .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(btnRemPadraoArquivo)
                                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 230, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(tabLayout.createSequentialGroup()
                                        .addComponent(txtPadraoArquivo)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(btnAddPadraoArquivo)))
                                .addGap(18, 18, 18)
                                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(lblPadroesArquivos)))
                    .addGroup(tabLayout.createSequentialGroup()
                        .addComponent(lblSigla)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtSilga, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        tabLayout.setVerticalGroup(
            tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, tabLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblSigla)
                    .addComponent(txtSilga, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(tabLayout.createSequentialGroup()
                        .addComponent(lblPadroesPasta)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(btnAddPadraoPasta)
                            .addComponent(txtPadraoPasta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(tabLayout.createSequentialGroup()
                        .addComponent(lblPadroesArquivos)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(btnAddPadraoArquivo)
                            .addComponent(txtPadraoArquivo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(tabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnRemPadraoPasta)
                    .addComponent(btnRemPadraoArquivo))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(tab, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(tab, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnAddPadraoArquivo;
    private javax.swing.JButton btnAddPadraoPasta;
    private javax.swing.JButton btnRemPadraoArquivo;
    private javax.swing.JButton btnRemPadraoPasta;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JLabel lblPadroesArquivos;
    private javax.swing.JLabel lblPadroesPasta;
    private javax.swing.JLabel lblSigla;
    private javax.swing.JList lstArquivos;
    private javax.swing.JList lstPastas;
    private javax.swing.JPanel tab;
    private javax.swing.JTextPane txtAjudaCapa;
    private javax.swing.JTextField txtPadraoArquivo;
    private javax.swing.JTextField txtPadraoPasta;
    private javax.swing.JTextField txtSilga;
    // End of variables declaration//GEN-END:variables
}
